package com.dragon.modules.yuegou.model.member;

import com.dragon.modules.yuegou.entity.member.PtTurntablePrizeEntity;
import com.dragon.modules.yuegou.enums.member.PtTurntablePrizePrizeType;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 大转盘奖品模型类
 *
 * @author pbuilder generated
 * @version 2.0
 * @date 2021-12-16 19:39:42
 * @company sgy
 * @see Length 长度限制
 * @see NotNull 对象非空
 * @see NotEmpty 字符串、集合、表、数组非空
 */
public class PtTurntablePrizeXcx extends PtTurntablePrizeEntity {

    @ApiModelProperty("提示内容")
    private String tipsContent;


    public String getTipsContent() {
        return tipsContent;
    }

    public void setTipsContent(String tipsContent) {
        this.tipsContent = tipsContent;
    }

    /**
     * 构造一个空大转盘奖品模型对象
     */
    public PtTurntablePrizeXcx() {
        super();
    }

    /**
     * 依据实体对象的信息构造一个大转盘奖品模型对象
     *
     * @param entity 实体对象
     */
    public PtTurntablePrizeXcx(PtTurntablePrizeEntity entity) {
        super(entity);
    }

    /**
     * 依据其它对象的信息构造一个大转盘奖品模型对象
     *
     * @param other 其它对象
     */
    public PtTurntablePrizeXcx(PtTurntablePrizeXcx other) {
        super(other);
    }


    @Override
    public String getId() {
        return id;
    }

    /**
     * 设置id
     *
     * @param id id
     * @return 当前对象
     */
    public PtTurntablePrizeXcx id(String id) {
        this.id = id;
        return this;
    }

    @Override
    public Boolean getPrizeFlag() {
        return prizeFlag;
    }

    /**
     * 设置是否是中奖配置
     *
     * @param prizeFlag 是否是中奖配置
     * @return 当前对象
     */
    public PtTurntablePrizeXcx prizeFlag(Boolean prizeFlag) {
        this.prizeFlag = prizeFlag;
        return this;
    }

    @Override
    public String getPointTurntableId() {
        return pointTurntableId;
    }

    /**
     * 设置大转盘ID
     *
     * @param pointTurntableId 大转盘ID
     * @return 当前对象
     */
    public PtTurntablePrizeXcx pointTurntableId(String pointTurntableId) {
        this.pointTurntableId = pointTurntableId;
        return this;
    }

    @Override
    public PtTurntablePrizePrizeType getPrizeType() {
        return prizeType;
    }

    /**
     * 设置[枚举]奖品类型：0-实物产品-G1、1-虚拟产品-G2
     *
     * @param prizeType [枚举]奖品类型：0-实物产品-G1、1-虚拟产品-G2
     * @return 当前对象
     */
    public PtTurntablePrizeXcx prizeType(PtTurntablePrizePrizeType prizeType) {
        this.prizeType = prizeType;
        return this;
    }

    @Override
    public String getPrizeTitle() {
        return prizeTitle;
    }

    /**
     * 设置奖品标题
     *
     * @param prizeTitle 奖品标题
     * @return 当前对象
     */
    public PtTurntablePrizeXcx prizeTitle(String prizeTitle) {
        this.prizeTitle = prizeTitle;
        return this;
    }

    @Override
    public String getGoodsId() {
        return goodsId;
    }

    /**
     * 设置商品id
     *
     * @param goodsId 商品id
     * @return 当前对象
     */
    public PtTurntablePrizeXcx goodsId(String goodsId) {
        this.goodsId = goodsId;
        return this;
    }

    @Override
    public String getGoodsName() {
        return goodsName;
    }

    /**
     * 设置商品名称
     *
     * @param goodsName 商品名称
     * @return 当前对象
     */
    public PtTurntablePrizeXcx goodsName(String goodsName) {
        this.goodsName = goodsName;
        return this;
    }

    @Override
    public String getGoodsImg() {
        return goodsImg;
    }

    /**
     * 设置商品图案
     *
     * @param goodsImg 商品图案
     * @return 当前对象
     */
    public PtTurntablePrizeXcx goodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
        return this;
    }

    @Override
    public Boolean getGoodsInfinite() {
        return goodsInfinite;
    }

    /**
     * 设置是否无限大
     *
     * @param goodsInfinite 是否无限大
     * @return 当前对象
     */
    public PtTurntablePrizeXcx goodsInfinite(Boolean goodsInfinite) {
        this.goodsInfinite = goodsInfinite;
        return this;
    }

    @Override
    public Integer getGoodsCount() {
        return goodsCount;
    }

    /**
     * 设置奖品数量
     *
     * @param goodsCount 奖品数量
     * @return 当前对象
     */
    public PtTurntablePrizeXcx goodsCount(Integer goodsCount) {
        this.goodsCount = goodsCount;
        return this;
    }

    @Override
    public Integer getGoodsProbability() {
        return goodsProbability;
    }

    /**
     * 设置中奖概率
     *
     * @param goodsProbability 中奖概率
     * @return 当前对象
     */
    public PtTurntablePrizeXcx goodsProbability(Integer goodsProbability) {
        this.goodsProbability = goodsProbability;
        return this;
    }

    @Override
    public Integer getGoodsSort() {
        return goodsSort;
    }

    /**
     * 设置商品序号
     *
     * @param goodsSort 商品序号
     * @return 当前对象
     */
    public PtTurntablePrizeXcx goodsSort(Integer goodsSort) {
        this.goodsSort = goodsSort;
        return this;
    }
}
